package cn.yunyichina.provider.bone.vo;

import cn.yunyichina.provider.framework.annotation.validate.AnnotationValidable;
import cn.yunyichina.provider.framework.annotation.validate.ValidateNotNullAndNotEmpty;

/**
 * Created by Joe.zhou on 2017/8/23.
 */
public class BoneMessageRequestVo  implements AnnotationValidable {

    @ValidateNotNullAndNotEmpty
    private String orderNo;

    @ValidateNotNullAndNotEmpty
    private String appId;

    @ValidateNotNullAndNotEmpty
    private String sendAppCode;

    private String type;


    /**
     * 发送消息类型：
     * 36004--专家订单处理通知（后台点击发送给专家）
     * 36005--主治订单处理通知（患者支付预付费/问诊费完成）
     * 36010--专家反馈通知（后台点击发送给患者）
     */
    @ValidateNotNullAndNotEmpty
    private String templateCode;

    @ValidateNotNullAndNotEmpty
    private String sendOpenId;

    private String userId;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public String getSendOpenId() {
        return sendOpenId;
    }

    public void setSendOpenId(String sendOpenId) {
        this.sendOpenId = sendOpenId;
    }

    public String getSendAppCode() {
        return sendAppCode;
    }

    public void setSendAppCode(String sendAppCode) {
        this.sendAppCode = sendAppCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
